package stool.abstractfactorypattern.part3;

import stool.abstractfactorypattern.part1.IUser;
import stool.abstractfactorypattern.part1.User;

/**
 * @Author Felix YF Dong
 * @Date 2021/5/7
 * @Description 反射+抽象工厂实现
 */
public class Main {

    public static void main(String[] args) throws Exception {

        User user = new User();

        IUser iu = DataAccess.createUser();

        iu.insert(user);
        iu.fetchUser("1");
    }
}
